export function verifyEmile(data){
    let reg = /^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;
    return !reg.test(data)? true:false
}

export function verifyPasswd(data){
    let reg = /^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,}$/;
    return !reg.test(data)? true:false
}

export function verifyName(data){
    let reg = /^[\u4e00-\u9fa5a-zA-Z0-9]{4,12}$/;
    return !reg.test(data)? true:false
}